import React, { Component } from "react";
export default class App extends Component {
  state = {
    count: 0,
  };
  render() {
  //   return (
  //     <React.Fragment>
  //       <h1>h1</h1>
  //       <h2>h2</h2>
  //     </React.Fragment>
  //   );
  // }
    return (
          // 简写React.Fragment
      <>
        <h1>h1</h1>
        <h2>h2</h2>
      </>
    );
  }

}
